package com.etong.citymap.util;

import java.util.HashMap;
import java.util.Map;

public final class Status {
	 //案卷类型 
    public static int ProjectType_SB = 1;                //案卷上报
    public static int ProjectType_HS = 2;                //案卷核实
    public static int ProjectType_HC = 3;                //案卷核查
    //附件上传状态
    public static int AdjunctUpload_NotSave = -1;       //附件上报状态，未保存
    public static int AdjunctUpload_Save = 0;           //附件上报状态，已保存
    public static int AdjunctUpload_SendSuccess = 1;    //附件上报状态，保存并发送成功
    public static int AdjunctUpload_SendFailure = 2;   //附件上报状态，保存但发送失败
    
    //是否属实
    public static int shushi_weisheding=0; //未设定 
    public static int shushi_off=2; //是
    public static int shushi_on=1; //否
    
    //是否保存状态
    public static int SaveState_t1=0; //保存成功未上传
    public static int SaveState_t2=1; //保存成功已上传
    
    
    //IMSI码
    public static int IMSI_DX=0;//电信
    public static int IMSI_YD=1;//移动
    public static int IMSI_LT=2;//联通
    

    /**
     * 自动上报提示：等待上报
     */
    public static int ERORR_0 = 0;
    
    /**
     * 自动上报提示：此案卷没有拍照，无法上报
     */
    public static int ERORR_01000 = -1000;

    /**
     * 自动上报提示：定位错误，请修改定位后手动上报！
     */
    public static int ERORR_0101 = -101;
    
    /**
     * 自动上报提示：网络异常，请尝试手动上报！
     */
    public static int ERORR_0102 = -102;

    
    /**
     * 自动上报提示：帐号在其他地方登录，请重新登录！
     */
    public static int ERORR_100 = 100;
    
    /**
     * 自动上报提示：上报异常，正在尝试上报中...
     */
    public static int ERORR_101 = 101;
    

    /**
     * 自动上报提示：上报参数不正确
     */
    public static int ERORR_01003 = -1003;
    
    public static Map<Integer,String> uploadErorr = new HashMap<Integer, String>(){
		private static final long serialVersionUID = -7338280374183292142L;
		{
    		put(100,"帐号在其他地方登录，请重新登录！");
    		put(101,"上报异常，正在尝试上报中...");
    		put(0,"等待上报...");
    		put(-101,"定位错误，请修改定位后手动上报！");
    		put(-102,"网络异常，请尝试手动上报！");
    		put(-1000,"此案卷没有拍照，无法上报");
    		put(-1003,"上报参数不正确");
    	}
    };
    
    //执法通
    public static int ZFTTB=4;
	public static int ZFTYQ=11;
	public static int ZFTZX=17;


}
